package businesslogic.user;

import java.util.ArrayList;

import po.approvepo.LogOffPO;
import vo.Limitation;
import vo.uservo.LogOffVO;
import vo.uservo.RegisterStuVO;
import Enum.Factor;
import Enum.Faculty;
import dataService.approveDataService.ApproveDataService;

public class GetLogOffList {
	 public static ArrayList<LogOffPO> list(Faculty f , String appliID){
		 ArrayList<Limitation>  limit=new ArrayList<Limitation>();
		 limit.add(new Limitation(Factor.Faculty, f.toString()));
		 limit.add(new Limitation(Factor.Applicant, appliID));
		 ApproveDataService  approveDataService=new ApproveDataService();
		 return approveDataService.getLogOff(limit);
	}
}
